package com.a.module_map

import android.content.Intent
import android.os.Bundle
import android.view.ViewGroup
import com.a.lib_base.base.ui.BaseActivityViewBinding
import com.a.module_map.databinding.ActivityMapBinding


/**
 * CREATE BY 黄炜强
 * 2022/7/26 11:30
 * Desc:
 * */
class TencentMapActivity : BaseActivityViewBinding<ActivityMapBinding>() {
    // TODO: 2022/7/26 更换TencentMapSDK Key
    override fun isAddTitleBar(): Boolean {
        return true
    }

    override fun setTitle(): String {
        return "导航"
    }

    override fun setBarBackground(): Int {
        return R.color.themeColor
    }

    override fun viewBinding(view: ViewGroup?): ActivityMapBinding {
        return ActivityMapBinding.inflate(layoutInflater, view, true)
    }


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        startService(Intent(this, LocationService::class.java))
    }

    override fun onStop() {
        super.onStop()
    }

    override fun onDestroy() {
        super.onDestroy()
    }

}